package com.briup.cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.cms.bean.CmsUser;
import com.briup.cms.bean.extend.CmsUserExtend;

import java.util.List;

/**
 * @BelongsProject: CMS
 * @BelongsPackage: com.briup.cms.service
 * @Author: 韩振阳
 * @CreateTime: 2024-11-21  10:58
 * @Description: TODO
 * @Version: 1.0
 */
public interface ICmsUserService {
    public CmsUser login(String username, String password);

    void save(CmsUser user);
    CmsUser queryById(Long id);

    void update(CmsUser user);

    void setVip(Long id);

    void deleteByBatch(List<Long> ids);

    IPage<CmsUserExtend> query(Integer pageNum, Integer pageSize, String username, String status, Integer roleId, Integer isVip);
}
